namespace SharpPlanetsModel
{
//giove
	public sealed class Jupiter : Planet {

		public Jupiter( )   {
			radius= 4000;
            density = 3;
            Calculate();
            setupImage();
			//planetImage = System.Drawing.Image.FromFile("jupiter.png");
		}

		public Jupiter(int radius )   {
            //base
            density = 3;
            this.radius = radius;
            Calculate();
            setupImage();
			//planetImage = System.Drawing.Image.FromFile("jupiter.png");
    	}
		/* costruttore cui passo la posizione
		public Jupiter(int xPos, int yPos )   {
			Jupiter();
		}
		*/

        override protected void setupImage()
        {
            string appPath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;
            appPath = System.IO.Path.GetDirectoryName(appPath)+"\\Resources";
            planetImage = new System.Drawing.Bitmap(appPath + "\\pocketJupiter.jpg");
            //planetImage = new System.Drawing.Bitmap(appPath + "\\pocketJupiterTexture.jpg");
        }
	}
}
